package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 获取产品交通信息
 * Created by wangzhen on 16/5/18.
 */

@XmlRootElement(name = "itinerary-traffic")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductItineraryTraffic implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * 出发信息
     */
    @XmlElement(name = "departure")
    private String departure;

    /**
     * 到达信息
     */
    @XmlElement(name = "arrival")
    private String arrival;

    /**
     * 交通信息
     */
    @XmlElement(name = "traffic-info")
    private String trafficInfo;

    private int itineraryId;

    private String productCode;

    public String getDeparture() {
        return departure;
    }

    public void setDeparture(String departure) {
        this.departure = departure;
    }

    public String getArrival() {
        return arrival;
    }

    public void setArrival(String arrival) {
        this.arrival = arrival;
    }

    public String getTrafficInfo() {
        return trafficInfo;
    }

    public void setTrafficInfo(String trafficInfo) {
        this.trafficInfo = trafficInfo;
    }

    public int getItineraryId() {
        return itineraryId;
    }

    public void setItineraryId(int itineraryId) {
        this.itineraryId = itineraryId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
}
